<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/basic/taglibs.jsp" %>
<html>
 <head>
	<%@ include file="/WEB-INF/jsp/basic/head.jsp"%>
<script language="javascript">
jQuery(document).ready(function() {
	
	$(".delete").click(function(event){
		if(!confirm("确定要删除?")){
			event.preventDefault();
		}
		
	});
});
</script>
</head>
<body>
<jsp:include page="/WEB-INF/jsp/basic/navigation.jsp">
<jsp:param value="5" name="topItem" />
</jsp:include>
<div class="width1010 main divcenter posirela pdb20">
	<div class="gsname gsname_jgfix1 bordertop0">
		<form action="${ctxPath}/huiyuan_list.jsp" method ="post">
			<p class="gs_qc mgt20">
				<span class="vmiddle gygs_vali">id号:</span>
				<input type="text" class="valiinp vmiddle" name="id" value="${hs.id}"/>
				<span class="vmiddle gygs_vali">姓名:</span>
				<input type="text" class="vmiddle  valiinp" name="name" value="${hs.name}"/>
				<span class="vmiddle gygs_vali">会员评分:</span>
				<input type="text" class="vmiddle  valiinp" name="fenshu1" value="${hs.fenshu1}"/>
				<span class="vmiddle gygs_vali">--</span>
				<input type="text" class="vmiddle  valiinp" name="fenshu2" value="${hs.fenshu2}"/>
				<span class="vmiddle gygs_vali">会员等级:</span>
					<select class="vmiddle " name="jibie">
					<option value="" >所有会员</option>
						<c:choose >
	            			<c:when test="${hs.jibie=='普通会员(288)'}"><option value="普通会员(288)" selected="selected">普通会员(288)</option></c:when>
	            			<c:otherwise><option value="普通会员(288)" >普通会员(288)</option></c:otherwise>
	            		</c:choose>
	            		<c:choose >
	            			<c:when test="${hs.jibie=='白银会员(588)'}"><option value="白银会员(588)" selected="selected">白银会员(588)</option></c:when>
	            			<c:otherwise><option value="白银会员(588)" >白银会员(588)</option></c:otherwise>
	            		</c:choose>
	            		<c:choose >
	            			<c:when test="${hs.jibie=='黄金会员(888)'}"><option value="黄金会员(888)" selected="selected">黄金会员(888)</option></c:when>
	            			<c:otherwise><option value="黄金会员(888)" >黄金会员(888)</option></c:otherwise>
	            		</c:choose>
	            		<c:choose >
	            			<c:when test="${hs.jibie=='钻石会员(1288)'}"><option value="钻石会员(1288)" selected="selected">钻石会员(1288)</option></c:when>
	            			<c:otherwise><option value="钻石会员(1288)" >钻石会员(1288)</option></c:otherwise>
	            		</c:choose>
						<c:choose >
	            			<c:when test="${hs.jibie=='超级VIP会员(1888)'}"><option value="超级VIP会员(1888)" selected="selected">超级VIP会员(1888)</option></c:when>
	            			<c:otherwise><option value="超级VIP会员(1888)" >超级VIP会员(1888)</option></c:otherwise>
	            		</c:choose>
					</select>
				<input type="submit"  class="querybtn2 vmiddle" value="开始查询"/> 
			</p>	
				
				
				
			
		</form>
		
	</div>
	<div class="queryresult">
		<div>
		<table class="querylist widthall" cellpadding="0" cellspacing="0">
			<colgroup>
				<col width="8%">
				<col width="12%">
				<col width="8%">
				<col width="12%">
				<col width="10%">
				<col width="10%">
				<col width="10%">
				<col width="15%">
				<col width="15%">
			</colgroup>
				
			<tr>
				<th class="textcenter">编号</th>
				<th class="textleft pdl15">姓名</th>
				<th class="textleft pdl15">性别</th>
				<th class="textleft pdl15">出生年月</th>
				<th class="textleft pdl15">学历</th>
				<th class="textleft pdl15">身高</th>
				<th class="textleft pdl15">分数</th>
				<th class="textleft pdl15">级别</th>
				<th class="textcenter">操作</th>
			</tr>
			<c:forEach var="hyList" items="${page.list}" varStatus="status">
			
				<tr>
					<td class="textleft pdl15">${hyList.id}</td>
					<td class="textleft pdl15">${hyList.name}</td>
					<td class="textleft pdl15">${hyList.sex}</td>
					<td class="textleft pdl15"><fmt:formatDate value="${hyList.birthday}" pattern="yyyy-MM-dd"/></td>
					<td class="textleft pdl15">${hyList.xueli}</td>
					<td class="textleft pdl15">${hyList.shengao}</td>
					<td class="textleft pdl15">${hyList.fenshu}</td>
					<td class="textleft pdl15">${hyList.jibie}</td>
					<td class="textcenter">
					<a href="${ctxPath}/huiyuan_detail.jsp?id=${hyList.id}" class="czlk">详情查看</a>
					<%-- <a href="${ctxPath}/huiyuan_update.jsp?id=${hyList.id}" class="czlk">资料修改</a>
					<a href="${ctxPath}/zeou_add.jsp?id=${hyList.id}" class="czlk">择偶修改</a> --%>
					<a href="${ctxPath}/huiyuan_delete.jsp?id=${hyList.id}" class="delete">删除</a>
					</td>
				
				</tr>
				
			</c:forEach>
		</table></div>
		<div class="page float_right mgt20">
			${page.pageNumHtml}
		</div>
	</div>
	


	<div class="mainbottom mgt20"></div>
</div>
<%@ include file="/WEB-INF/jsp/basic/foot.jsp"%>
</body>
</html>
